setField

abstract fun setField(object: Any, fieldID: String, fieldValue: String, isPassword: Boolean)

Stores a field associated with the given object (account, transaction, etc).

Parameters

object

the object with which the field is associated. If null, the field is assumed to be global to the entire data set

fieldID

the unique ID of the field, which will also be used to retrieve the value

fieldValue

the value of the field to be stored, or null to delete the field

isPassword

if true, the storage treats the field as a password (ie, not synced, observes the 'store passwords in file' setting)